package cn.kgc.crowdfundingadminspringboot3.service;

import cn.kgc.crowdfundingadminspringboot3.pojo.Cert;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface CertService {
    public PageInfo<Cert> queryForKeywordWithPage(
            Integer pageNum,
            Integer pageSize,
            String keyword);

    //获取批量删除id
    public List<Cert> getCertListByIdList(List<Integer> roleIdList);

    //确定批量删除
    public void batchRemove(List<Integer> roleIdList);

    //添加
    public void saveRole(String roleName);

    //修改
    public void updateRole(Cert cert);

}
